import { Router } from 'express';
import UserController from '@src/controllers/user';
import multer from 'multer';

// Init router
const router = Router();

router.post('/login', multer().none(), UserController.login);
router.post('/register', multer().none(), UserController.register)



export default router;
